package com.lkd.service;

import com.lkd.result.PageBean;
import com.lkd.vo.VendingMachineVo;

import java.util.List;

public interface VendingMachineService {
    /**
     * 根据partnerId删除
     * @param id
     */
    void deleteByPartnerId(Integer id);

    List<VendingMachineVo> selectByNodeId(Long nodeId);

    /**
     * 分页查询设备
     * @param pageIndex
     * @param pageSize
     * @param innerCode
     * @return
     */
    PageBean<VendingMachineVo> findByPage(Integer pageIndex, Integer pageSize, String innerCode);
}